import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import show from "@/components/show";

import uploadTouXiang from "@/components/uploadTouXiang";
import index from "@/components/index";
import UserLogin from "@/components/UserLogin";
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },{
      path: '/show',
      name: 'show',
      component: show
    },{
      path: '/uploadTouXiang',
      name: 'uploadTouXiang',
      component: uploadTouXiang
    },{
      path: '/index',
      name: 'index',
      component: index
    },{
      path: '/UserLogin',
      name: 'UserLogin',
      component: UserLogin

    }
  ]
})
